package com.tenement.service;

import com.mybatisflex.core.service.IService;
import com.tenement.entity.UserTenement;

import java.util.List;

/**
 *  服务层。
 *
 * @author BertXie
 * @since 1.0.1
 */

public interface UserTenementService extends IService<UserTenement> {
    int operator(UserTenement userTenement);

    long exists(Long userId);

    List<Long> tenementIds(Long userId);
}
